export default (url) => {
  const crud = {};

  crud.login = (data) =>
    window.$axios({
      url: `${url}/login`,
      data,
      method: "post",
      meta: {
        isToken: false,
      },
    });

  console.log(crud, url);

  return {
    ...crud,
  };
};
